package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {


    List<Role> selectAll();

    PageInfo<Role> selectByQo(QueryObject queryObject);

    Role selectById(Long roleId);

    void saveOrUpdate(Role role, Long[] ids);

    void deleteById(Long roleId);
}
